<%@ Control Language="VB" AutoEventWireup="false" CodeFile="MyPager.ascx.vb" Inherits="WebForm_MyPager" %>
<div style="float: left">
    <asp:PlaceHolder ID="plAdv" runat="server">Page Size:
        <asp:DropDownList ID="ddlPageSize" runat="server" AutoPostBack="true" CausesValidation="true">
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>15</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>30</asp:ListItem>
            <asp:ListItem>50</asp:ListItem>
            <asp:ListItem>100</asp:ListItem>
            <asp:ListItem Value="">All</asp:ListItem>
        </asp:DropDownList>
        Pages:
        <asp:DropDownList ID="ddlPageIndex" runat="server" AutoPostBack="true" CausesValidation="true">
        </asp:DropDownList>
    </asp:PlaceHolder>
    |
    <asp:Button ID="btnFirst" runat="server" CommandName="Page" CommandArgument="First"
        Text="First" UseSubmitBehavior="false" />
    |
    <asp:Button ID="btnPrev" runat="server" CommandName="Page" CommandArgument="Prev"
        Text="Prev" UseSubmitBehavior="false" />
    |
    <asp:Button ID="btnNext" runat="server" CommandName="Page" CommandArgument="Next"
        Text="Next" UseSubmitBehavior="false" />
    |
    <asp:Button ID="btnLast" runat="server" CommandName="Page" CommandArgument="Last"
        Text="Last" UseSubmitBehavior="false" />
    |
</div>
<div style="float: right">
    <asp:Literal ID="lblRowCountInfo" runat="server"></asp:Literal>
</div>
